Android ViewGroup
A ViewGroup is a special view that can contain other views (called children.) The view group is the base class for layouts and views containers. This class also defines the ViewGroup.LayoutParams class which serves as the base class for layouts parameters.
code: a.kt
val view = mLayoutInflater.inflate(R.layout.row_scrap, parent, false)
view.layoutParams.height = parent.measuredHeight / 4
https://gyazo.com/1e207791889ca13b322aad1f9814efd4